<script src="./script.js"></script>
<style src="./style.css"></style>
<template>
  <div class="app-container">

    <el-table
      v-loading="listLoading"
      :data="list"
      border
      fit
      highlight-current-row
      style="width: 100%;"
    >
      <el-table-column label="订单编号" size="mini" prop="id" align="center" width="220">
        <template slot-scope="{row}">
          <el-link type="primary">{{ row.id }}</el-link>
        </template>
      </el-table-column>

      <el-table-column label="临时库位" size="mini" prop="id" align="center" width="120">
        <template slot-scope="{row}">
          <el-link type="primary">{{ row.storage_number }}</el-link>
        </template>
      </el-table-column>

      <el-table-column label="收货人姓名" size="mini" prop="id" align="center">
        <template slot-scope="{row}">
          <el-link type="primary">{{ row.consignee }}</el-link>
        </template>
      </el-table-column>

      <el-table-column label="操作" width="150">
        <template slot-scope="{row}">
          <el-button type="primary" size="mini" @click="check(row.id)">验货</el-button>
        </template>
      </el-table-column>

    </el-table>


  </div>
</template>
